<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1" align="center">
  <tr>
    <td>学生姓名</td>
    <td>学生性别</td>
    <td>学生年龄</td>
    <td>所在城市</td>
    <td>就读大学</td>
  </tr>
  <tr th:each="student:${students}">
    <td th:utext="${student.name}"></td>
    <td th:text="${student.gender}"></td>
    <td th:text="${student.age}"></td>
    <td th:text="${student.city}"></td>
    <td th:text="${student.university}"></td>
  </tr>
</table>
</body>
</html>